#ifndef GB_INPUT_STATE_H
#define GB_INPUT_STATE_H

#include <stdbool.h>

typedef enum GBInputDirection
{
	GBKeyDirectionNone,
	GBKeyDirectionUp,
	GBKeyDirectionUpLeft,
	GBKeyDirectionLeft,
	GBKeyDirectionDownLeft,
	GBKeyDirectionDown,
	GBKeyDirectionDownRight,
	GBKeyDirectionRight,
	GBKeyDirectionUpRight
} GBKeyDirection;

typedef struct GBInputState
{
	GBKeyDirection direction:4;
	bool a:1;
	bool b:1;
	bool start:1;
	bool select:1;
} GBInputState;

#endif
